<template>
    <div id="content">
        <app-content-nav/>
        <div id="content-views">
             <!-- <component :is="$rxRouterInfocurrent.pagename"></component>{{JSON.stringify(current)}} -->
             <component v-for="item in $rxRouterInfo.pages" :is="item.pagename" :key="item.pagename" v-show="$rxRouterInfo.current.pagename===item.pagename" />
        </div>
    </div>
</template>
<script>
    import appContentNav from './appContentNav.vue'
    export default {
        components:{
            appContentNav
        }
    }
</script>
<style>
    #content{
        margin-top: 75px
    }
    #content-views{
        width: 83.333333%;
        float: right;
    }

</style>
